<!-- head -->
{include file='public/head' /}
<!-- head -->
<style>
    /*transition: all 0.6s;表示所有的属性变化在0.6s的时间段内完成。
    transform: scale(1.4);表示在鼠标放到图片上的时候图片按比例放大1.4倍。*/
    div img{  
        cursor: pointer;  
        transition: all 0.6s;  
    }  
    div img:hover{  
        transform: scale(2.5);  
    } 
</style>
<!-- left -->
{include file='public/left' /}
<!-- left -->

<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            店铺信息
        </h1>
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> 店铺管理</a></li>
            <li><a href="#">店铺列表</a></li>
            <li class="active">查看信息</li>
        </ol>
    </section>

    <!-- Main content -->
    <section class="content">

        <div class="row">
            <div class="col-md-3">

                <!-- Profile Image -->
                <div class="box box-primary">
                    <div class="box-body box-profile">
                        <img class="profile-user-img img-responsive img-circle" src="__STATIC__/AdminLTE/dist/img/user4-128x128.jpg" alt="User profile picture">

                        <h3 class="profile-username text-center">{$storeList.store_name}</h3>

                        <p class="text-muted text-center">{$storeList.store_keeper}</p>

                        <ul class="list-group list-group-unbordered">
                            <li class="list-group-item">
                                <b>负责人电话</b> <a class="pull-right">{$storeList.keeper_phone}</a>
                            </li>
                            <li class="list-group-item">
                                <b>营业执照注册号</b> <a class="pull-right">{$storeList.bus_licence_number}</a>
                            </li>
                            <li class="list-group-item">
                                <b>营业时间</b> <a class="pull-right">{$storeList.busstarttime}-{$storeList.busendtime}</a>
                            </li>
                            <li class="list-group-item">
                                <b>注册时间</b> <a class="pull-right">{$storeList.add_time|date='Y-m-d H:i',###}</a>
                            </li>
                        </ul>

                        <a href="#" class="btn btn-primary btn-block">
                            <b>
                                {if condition="$storeList.bus_licence_type eq 1"} 企业法人
                                {elseif condition="$storeList.bus_licence_type eq 2"/}个体工商户
                                {else /} 散户
                                {/if}
                            </b>
                        </a>
                    </div>
                    <!-- /.box-body -->
                </div>
                <!-- /.box -->

                <!-- About Me Box -->
                <div class="box box-primary">
                    <div class="box-header with-border">
                        <h3 class="box-title">店铺介绍</h3>
                    </div>
                    <!-- /.box-header -->
                    <div class="box-body">
                        <strong><i class="fa fa-book margin-r-5"></i> 店铺说明</strong>

                        <p class="text-muted">
                            {$storeList.introduce}
                        </p>

                        <hr>

                        <strong><i class="fa fa-map-marker margin-r-5"></i> 详细地址</strong>

                        <p class="text-muted">{$storeList.store_address}</p>
                    </div>
                    <!-- /.box-body -->
                    {if condition="$storeList.is_shareshop eq 1"}
                    {if condition="session('A_ID') eq 1"}
                    <a href="{:url('Store/redpacket',['id'=>$id])}" class="btn btn-primary btn-block bg-orange">
                        <b>
                            拓客红包
                        </b>
                    </a>
                    {/if}
                    {/if}
                </div>
                <!-- /.box -->
            </div>
            <!-- /.col -->
            <div class="col-md-9">
                <div class="nav-tabs-custom">
                    <ul class="nav nav-tabs">
                        <li class="active"><a href="{:url('Store/ShowImgMessage',['id'=>$id])}">相册管理</a></li>
                        <li><a href="{:url('Store/ShowMessage',['id'=>$id])}">项目信息</a></li>
                        <li><a href="{:url('Store/ShowOrderMessage',['id'=>$id])}">订单信息</a></li>
                        <li><a href="{:url('Store/ShowStaffMessage',['id'=>$id])}">员工信息</a></li>
                        <li><a href="{:url('Store/ShowCustomMessage',['id'=>$id])}">客户信息</a></li>
                        <li><a href="{:url('Store/ShowOnlineMessage',['id'=>$id])}">预约信息</a></li>
                    </ul>
                    <div class="tab-content">
                        <!------项目信息------->
                        <div class="active tab-pane" id="item">
                            <div class="row">
                                <div class="col-sm-12">
                                    <div class="box box-primary">
                                        <div class="box-header with-border">
                                            <h1 class="box-title" style="font-size: 14px;color: #999999;">
                                                <span class="fa fa-exclamation-triangle"></span>
                                                图片均为用户随意上传，后台没做任何处理，如您发现违规内容，请联系程序猿删除！！！
                                            </h1>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="box box-success box-solid">
                                                <div class="box-header with-border">
                                                    <h3 class="box-title">证件照</h3>

                                                    <div class="box-tools pull-right">
                                                        <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i>
                                                        </button>
                                                    </div>
                                                    <!-- /.box-tools -->
                                                </div>
                                                <!-- /.box-header -->

                                                <div class="box-body">
                                                    <div class="row margin-bottom">
                                                        <div class="col-sm-6">
                                                            <img class="img-responsive" src="{:config('adminconfig.ImgPath')}/{$storeList.img}" alt="店铺图片"><br>
                                                        </div>
                                                        <!-- /.col -->
                                                        <div class="col-sm-6">
                                                            <div class="row">
                                                                <div class="col-sm-6">
                                                                    <img class="img-responsive" src="{:config('adminconfig.ImgPath')}/{$storeList.idcard1}" alt="身份证正面">
                                                                    <br>
                                                                    <img class="img-responsive" src="{:config('adminconfig.ImgPath')}/{$storeList.idcard2}" alt="身份证反面">
                                                                </div>
                                                                <!-- /.col -->
                                                                <div class="col-sm-6">
                                                                    <img class="img-responsive" src="{:config('adminconfig.ImgPath')}/{$storeList.idcard3}" alt="手持身份证">
                                                                    <br>
                                                                    <img class="img-responsive" src="{:config('adminconfig.ImgPath')}/{$storeList.bus_licence_img}" alt="营业执照">
                                                                </div>
                                                                <!-- /.col -->
                                                            </div>
                                                            <!-- /.row -->
                                                        </div>
                                                        <!-- /.col -->
                                                    </div>
                                                </div>
                                                <!-- /.box-body -->
                                            </div>
                                            <!-- /.box -->
                                        </div>
                                        <div class="col-md-6">
                                            {foreach name='galleryList' item='admin'}
                                            <div class="box box-warning collapsed-box box-solid">
                                                <div class="box-header with-border">
                                                    <h3 class="box-title">{$admin.name}</h3>

                                                    <div class="box-tools pull-right">
                                                        <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i>
                                                        </button>
                                                    </div>
                                                    <!-- /.box-tools -->
                                                </div>
                                                <!-- /.box-header -->
                                                <div class="box-body">
                                                    <div class="row margin-bottom">
                                                        {foreach name='admin.img' item='adminimg'}
                                                        <div class="col-sm-4">
                                                            <img class="img-responsive" src="{:config('adminconfig.ImgPath')}/{$adminimg.photo}" alt="Photo">
                                                            <br>
                                                        </div>
                                                        {/foreach}
                                                    </div>
                                                </div>
                                                <!-- /.box-body -->
                                            </div>
                                            {/foreach}
                                            <!-- /.box -->
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!------项目信息结束------->
                    </div>
                    <!-- /.tab-content -->
                </div>
                <!-- /.nav-tabs-custom -->
            </div>
            <!-- /.col -->
        </div>
        <!-- /.row -->

    </section>
    <!-- /.content -->
</div>
<!-- foot -->
{include file='public/foot' /}
<!-- foot -->